class MembersController < ApplicationController
  active_scaffold do |config|
    config.columns = :name, :mobile, :age, :msn_qq, :joined_at, :believed, :baptised, :profession, :touches, :group

    # list.columns.exclude :group
    create.columns.exclude :touches
    update.columns.exclude :touches
    #show.columns.exclude :nil

    columns[:group].form_ui = :select
  end

  # active_scaffold callbacks
  def conditions_for_collection()
  end

  def before_create_save(record)
  end

  def after_create_save(record)
  end
  
  def before_update_save(record)
  end

  def after_update_save(record)
  end
end
